use crate::model::atmosphere::Atmosphere;

pub mod earth;
pub mod my;

pub enum LogLevel {
    TOTAL,
    MAIN,
    LESS,
    NONE,
}

pub trait Star {
    fn catch_atmosphere(&self, altitude: f64) -> Atmosphere;
    fn info(&self) -> StarInfo;
}

#[derive(Debug, Clone)]
pub struct StarInfo {
    pub mass: f64,
    pub radius: f64,
    pub atmospheric_gas: f64,
}